package com.peas.platform.module.icims.base.auth.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.base.auth.adapter.repository.UserLoginRepository;
import com.peas.platform.module.icims.base.auth.adapter.repository.po.UserLoginPo;
import com.peas.platform.module.icims.base.auth.domain.UserLoginDomain;
import com.peas.platform.module.icims.base.auth.dto.UserLoginDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class UserLoginDomainImpl extends BaseDomainImpl<UserLoginDto, UserLoginPo> implements UserLoginDomain {

    @Resource
    private UserLoginRepository userLoginRepository;

    @Override
    public BaseRepository<UserLoginPo> getMapper() {
        return userLoginRepository;
    }

    @Override
    public Class<? extends BaseRepository<UserLoginPo>> getRepositoryClass() {
        return UserLoginRepository.class;
    }

}
